package ooday2;

public class Dog extends Animal{
   public Dog(String name, int age, String color){
       super(name,age,color);

   }
   public void eat(){
      System.out.println(color+"色的"+age+"岁"+name+"的小狗在吃骨头");


   }
   public void lookHome(){
      System.out.println(color+"色的"+age+"岁"+name+"的小狗在看家");
   }

}
